import { httpForm } from "@/service/network";

//角色列表
export const getRoleList = (data) => {
  return httpForm("/admin.php/role/index", data);
};

//添加角色
export const addRoleList = (data) => {
  return httpForm("/admin.php/role/add", data);
};

//删除列表
export const delRoleList = (data) => {
  return httpForm("/admin.php/role/delete", data);
};

//编辑
export const editRoleList = (data) => {
  return httpForm("/admin.php/role/edit", data);
};
